]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
osk-layouts: Fixed Persian OSK
authorSohrab Behdani <behdanisohrab@gmail.com>
Tue, 9 Jul 2024 18:54:04 +0000 (22:24 +0330)
committerMarge Bot <marge-bot@gnome.org>
Thu, 11 Jul 2024 18:34:25 +0000 (18:34 +0000)
Remove duplicate and unnecessary keys, and add missing ones
(e.g. ZWNJ).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3409>

data/gnome-shell-icons.gresource.xml
data/icons/scalable/status/keyboard-zwnj-symbolic.svg [new file with mode: 0644]
data/osk-layouts/ir.json

index 6ace8f0f10fdc6facac645475e5b98739454b512..f15d0c0e8151f8c30bcf6aeffa4a3f3d3969afbc 100644 (file)
@@ -46,6 +46,7 @@
     <file preprocess="xml-stripblanks">scalable/status/keyboard-hide-symbolic.svg</file>
     <file preprocess="xml-stripblanks">scalable/status/keyboard-layout-symbolic.svg</file>
     <file preprocess="xml-stripblanks">scalable/status/keyboard-shift-symbolic.svg</file>
+    <file preprocess="xml-stripblanks">scalable/status/keyboard-zwnj-symbolic.svg</file>
     <file preprocess="xml-stripblanks">scalable/status/message-indicator-symbolic.svg</file>
     <file preprocess="xml-stripblanks">scalable/status/no-notifications-symbolic.svg</file>
     <file preprocess="xml-stripblanks">scalable/status/screen-privacy-disabled-symbolic.svg</file>
diff --git a/data/icons/scalable/status/keyboard-zwnj-symbolic.svg b/data/icons/scalable/status/keyboard-zwnj-symbolic.svg
new file mode 100644 (file)
index 0000000..7204f47
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1">
+  <path d="M 3,0.5 V 1 c 2.5,0 4.5,1 4.5,2 v 12.5 h 1 V 3 c 0,-1 2,-2 4.5,-2 V 0.5 Z" />
+</svg>
index 758485acda393d14eb8d71829e3c28d9135e43eb..436aa74a61df15f53a7ad8f99ae36a0678dc13cc 100644 (file)
           },
           {
             "strings": [
-              "ق",
-              "ڨ"
+              "ق"
             ]
           },
           {
             "strings": [
-              "ف",
-              "ڤ",
-              "ڢ",
-              "ڥ"
+              "ف"
             ]
           },
           {
@@ -47,7 +43,7 @@
           {
             "strings": [
               "ه",
-              "ه‍"
+              "ة"
             ]
           },
           {
           },
           {
             "strings": [
-              "ج",
+              "ج"
+            ]
+          },
+          {
+            "strings": [
               "چ"
             ]
           },
           {
             "action": "delete",
             "iconName": "edit-clear-symbolic",
-            "width": 1.5
+            "width": 1
           }
         ],
         [
           {
+            "leftOffset": 0.5,
             "strings": [
-              "ش",
-              "ڜ"
+              "ش"
             ]
           },
           {
           },
           {
             "strings": [
-              "ي",
-              "ئ",
-              "ى"
+              "ی",
+              "ئ"
             ]
           },
           {
             "strings": [
-              "ب",
-              "پ"
+              "ب"
             ]
           },
           {
             "strings": [
-              "ل",
-              "لا",
-              "لأ",
-              "لإ",
-              "لآ"
+              "ل"
             ]
           },
           {
           },
           {
             "strings": [
-              "ك",
-              "گ",
-              "ک"
+              "ک",
+              "ك"
             ]
           },
           {
             "strings": [
-              "ط"
+              "گ"
             ]
           },
           {
         ],
         [
           {
-            "leftOffset": 1,
-            "strings": [
-              "ذ"
-            ]
-          },
-          {
+            "leftOffset": 1.5,
             "strings": [
-              "Ø¡"
+              "ظ"
             ]
           },
           {
             "strings": [
-              "ؤ"
+              "Ø·"
             ]
           },
           {
             "strings": [
-              "ر"
+              "ژ"
             ]
           },
           {
             "strings": [
-              "ى",
-              "ئ"
+              "ز"
             ]
           },
           {
             "strings": [
-              "Ø©"
+              "ر"
             ]
           },
           {
             "strings": [
-              "و"
+              "ذ"
             ]
           },
           {
             "strings": [
-              "ز",
-              "ژ"
+              "د"
             ]
           },
           {
             "strings": [
-              "ظ"
+              "و"
             ]
           },
           {
             "strings": [
-              "د"
+              "پ"
             ]
           }
         ],
         [
           {
             "action": "levelSwitch",
-            "label": "?123",
+            "label": "۱۲۳؟",
             "level": "opt",
             "width": 1.5
           },
             "strings": [
               " "
             ],
-            "width": 6
+            "width": 5.5
           },
           {
             "strings": [
               "("
             ]
           },
+          {
+            "iconName": "keyboard-zwnj-symbolic",
+            "keyval": "0x100200c"
+          },
           {
             "action": "emoji",
             "iconName": "face-smile-symbolic"
         [
           {
             "action": "levelSwitch",
-            "label": "ABC",
+            "label": "الف‌ب‌پ",
             "level": "default",
             "width": 1.5
           },
         [
           {
             "action": "levelSwitch",
-            "label": "?123",
+            "label": "۱۲۳؟",
             "level": "opt",
             "width": 1.5
           },
           },
           {
             "action": "levelSwitch",
-            "label": "?123",
+            "label": "۱۲۳؟",
             "level": "opt",
             "width": 3
           }
         [
           {
             "action": "levelSwitch",
-            "label": "ABC",
+            "label": "الف‌ب‌پ",
             "level": "default",
             "width": 1.5
           },